
const TokenKey = 'sixgod-Token'
const refresh_token = 'refresh_token'

export function getToken() {
  return localStorage.getItem(TokenKey)
}

export function setToken(token) {
  return localStorage.setItem(TokenKey, token)
}

export function removeToken() {
  return localStorage.removeItem(TokenKey)
}

export function getRefreshToken() {
  return localStorage.getItem(refresh_token)
}

export function setRefreshToken(token) {
  return localStorage.setItem(refresh_token, token)
}

export function removeRefreshToken() {
  return localStorage.removeItem(refresh_token)
}
